<?php

use Illuminate\Database\Seeder;
use App\Category;

class CategoriesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        DB::table('categories')->delete();
        Category::create([
            'id'=>'1',
            'name'=>'测试分类',
            'color'=>'22,25,35',
        ]);
    }
}
